//
//  CmdProcessor.h
//  SmartTalk
//
//  Created by 陈勃 on 14-12-30.
//  Copyright (c) 2014年 gameabc. All rights reserved.
//

#import <Foundation/Foundation.h>
@class CmdProcessor;
typedef void (^CmdProcessorCallbackBLock)(CmdProcessor * processor);
@interface CmdProcessor : NSObject
@property(nonatomic)uint64_t transid;
@property(nonatomic)int cmdType;
@property(nonatomic,strong)NSDictionary *reqDict;
@property(nonatomic)int rspcode;
@property(nonatomic,strong)NSDictionary *rspDict;
@property(nonatomic, copy)CmdProcessorCallbackBLock respBlock;

-(BOOL)handle:(NSInteger)actionType info:(NSDictionary *)rspDict;
@end
